﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto
{
    public class ShippingOrderDetailLockDto
    {
        public long Id { get; set; }
        public string PurOrderLineNo { get; set; }
        public long OrderId { get; set; }

        public string PurOrderNo { get; set; }
        /// <summary>
        /// 出库订单号
        /// </summary>
        public string OrderSn { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int? BillType { get; set; }

        public int? Capsule { get; set; }

        /// <summary>
        /// 状态：0-新建;1-提交；2-审核通过;3-作业中;4-已完成;5-强制完成;6-失效;7-异常
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        public string WorkShopName { get; set; }
        public string ProductName { get; set; }
        public string ProductModelSpec { get; set; }
        public int ProductQty { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 计量单位名称
        /// </summary>
        public string UnitName { get; set; }

        public decimal? Qty { get; set; } = 0;

        /// <summary>
        /// 订单完成日期
        /// </summary>
        public DateTime? FinshDate { get; set; }

        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 仓位名称
        /// </summary>
        public string CellName { get; set; }

        /// <summary>
        /// 是否挂起
        /// </summary>
        public bool? IsSuspend { get; set; }

        /// <summary>
        /// 托盘条码
        /// </summary>
        public string PalletBarcode { get; set; }

        /// <summary>
        /// 打包台
        /// </summary>
        public string PackCode { get; set; }

        /// <summary>
        /// 缓存口
        /// </summary>
        public string CachePortCode { get; set; }


        public bool? IsOutOrderReview { get; set; }

        public bool? IsPicking { get; set; }
    }
}
